package com.xiang.plane.util;

import android.graphics.Bitmap;
import android.util.LruCache;

import java.util.HashMap;
import java.util.Map;

/**
 * Create by Xiang Liyou on 2017/8/4
 *
 * @DESCRIPTION
 */
public class ImageUtil {

    /**
     * 用到的图片资源
     * KEY ： 图片的KEY
     * VALUE：对应的图片
     */
    public static LruCache<Integer, Bitmap> ImageCacahe;

    //英雄图片的KEY
    public final static int HERO_1_KEY = 1001;
    public final static int HERO_2_KEY = 1002;
    public final static int HERO_3_KEY = 1003;
    public final static int HERO_4_KEY = 1004;
    public final static int HERO_5_KEY = 1005;
    public final static int HERO_6_KEY = 1006;
    //背景图片的KEY
    public final static int BACK_1_KEY = 2001;
    public final static int BACK_2_KEY = 2002;
    public final static int BACK_3_KEY = 2003;
    public final static int BACK_4_KEY = 2004;
    public final static int BACK_5_KEY = 2005;
    //敌机图片的KEY
    public final static int ENEMY_1_KEY = 3001;
    public final static int ENEMY_2_KEY = 3002;
    public final static int ENEMY_3_KEY = 3003;
    public final static int ENEMY_4_KEY = 3004;
    public final static int ENEMY_5_KEY = 3005;
    public final static int ENEMY_6_KEY = 3006;
    //我军子弹KEY
    public final static int HERO_BULLET_1_1 = 4001;
    public final static int HERO_BULLET_2_1 = 4002;
    public final static int HERO_BULLET_2_2 = 4003;
    public final static int HERO_BULLET_2_3 = 4004;
    public final static int HERO_BULLET_2_4 = 4005;
    public final static int HERO_BULLET_2_5 = 4006;
    public final static int HERO_BULLET_2_6 = 4007;
    public final static int HERO_BULLET_2_7 = 4008;
    //跟踪弹
    public final static int HERO_TRACK_1 = 4009;
    public final static int HERO_BULLET_3_1 = 4010;
    //敌子弹
    public final static int ENEMY_BULLET_1 = 4110;
}
